<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/common/topBegin.jsp"%>
<style>
/******checkboxTreePanel*******/
.x-tree-checkbox {
	background:url('${ctx}/images/form/checkbox.gif') no-repeat 0 0;
	height:13px;
	width:13px;
	margin:0 1px;
	vertical-align:middle;
}
.x-tree-checkbox-over .x-tree-checkbox {
	background-position:-13px 0;
}
.x-tree-checkbox-down .x-tree-checkbox {
	background-position:-26px 0;
}
.x-tree-node-disabled .x-tree-checkbox {
	background-position:-39px 0;
}
.x-tree-node-checked {
	background-position:0 -13px;
}
.x-tree-checkbox-over .x-tree-node-checked {
	background-position:-13px -13px;
}
.x-tree-checkbox-down .x-tree-node-checked {
	background-position:-26px -13px;
}
.x-tree-node-disabled .x-tree-node-checked {
	background-position:-39px -13px;
}
.x-tree-node-grayed {
	background-position:0 -26px;
}
.x-tree-checkbox-over .x-tree-node-grayed {
	background-position:-13px -26px;
}
.x-tree-checkbox-down .x-tree-node-grayed {
	background-position:-26px -26px;
}
.x-tree-node-disabled .x-tree-node-grayed {
	background-position:-39px -26px;
}
/**   表格样式    **/
.displayTable {
	border: 1px solid #000000;
	border-collapse: collapse;
	width: 80%;
	font-size:12px;
	
}

.displayTable td,.displayTable th {
	border: 1px solid #000000;
	padding: 4px 6px 4px 6px;
	
	
}

.displayTable th {
	color: black;
	FONT-SIZE: 12px;
	font-weight: bold;
	text-align:center;
	width: 10%;
}

a:link{ text-decoration:none; color: #15428B; }
a:visited{text-decoration:none ；color: #15428B; }
a:hover{ text-decoration:underline; color: #15428B;}
</style>
<script>
var tbarOpr = [],queryRole=false,editRole=false;
<c:if test="${my:hasPermission(currentUser.id,'person','CREATE')}">
tbarOpr.push({
	text : '新增',
	iconCls : 'page_addIcon',
	handler : function() {
		personView.addInit();
	}
});
</c:if>
<c:if test="${my:hasPermission(currentUser.id,'person','UPDATE')}">
	editRole=true;
	tbarOpr.push({
		text : '修改',
		iconCls : 'page_edit_1Icon',
		handler : function() {
			personView.editInit();
		}
	});
</c:if>
<c:if test="${my:hasPermission(currentUser.id,'person','DELETE')}">
	tbarOpr.push({
		text : '删除',
		iconCls : 'page_delIcon',
		handler : function() {
			personView.deleteItem();
		}
	});
</c:if>
<c:if test="${my:hasPermission(currentUser.id,'person','READ')}">
	queryRole=true;
</c:if>

</script>
<%@include file="/WEB-INF/common/topEnd.jsp"%>	
<%@include file="/WEB-INF/common/bodyBegin.jsp"%>
<div id="orgTreeDiv"></div>

<script type="text/javascript" src="${ctx}/js/extjs/ux/CheckTreePanel.js"></script>
<script type="text/javascript" src="${ctx}/js/app-web/dict/user/personForm.js"></script>
<script type="text/javascript" src="${ctx}/js/app-web/dict/user/userAccountForm.js"></script>
<script type="text/javascript" src="${ctx}/js/app-web/dict/user/userRoleForm.js"></script>
<script type="text/javascript" src="${ctx}/js/app-web/dict/user/personView.js"></script> 
<%@include file="/WEB-INF/common/bodyEnd.jsp"%>	
